package com.zcc.dao;

import com.zcc.pojo.Blog;

import java.util.List;
import java.util.Map;

public interface BlogMapper {
    int addBlog(Blog blog);
    List<Blog> queryBlogIF(int views);
    List<Blog> queryBlogByPage(Map map);
    List<Blog> queryBlogByChoose(Map map);
    int updateBlog(Map map);
    List<Blog> queryBlogForeach(Map map);
}
